﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Admin3000.Backend.Api.Migrations
{
    public partial class 尝试初始化一个管理用户 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "Users",
                columns: new[] { "Id", "CreatedTime", "DisplayOrder", "IsActived", "IsDeleted", "Password", "Remarks", "UpdatedTime", "Username" },
                values: new object[] { 1, new DateTime(2021, 7, 25, 22, 29, 45, 811, DateTimeKind.Local).AddTicks(5627), 0, true, false, "113", null, new DateTime(2021, 7, 25, 22, 29, 45, 812, DateTimeKind.Local).AddTicks(6630), "admin" });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: 1);
        }
    }
}
